package com.annchain.og_browser.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("最新区块")
public class LatestBlockVO {
    @ApiModelProperty("高度")
    private Integer height;

    @ApiModelProperty("出块人")
    private AddressVo miner;

    @ApiModelProperty("多久前出块")
    private Long timeDiff ;
    //出块时间戳
    @ApiModelProperty("出块时间戳")
    private Long outputTime;
    @ApiModelProperty("交易总数")
    private Integer transactionCount;
    @ApiModelProperty("哈希值")
    private String hash;
}
